{% extends "base.html" %}
{% load pagination_tags %}
{% load wiki_extras %}

{% block content %}
<h1>{{ page_title }}</h1>
<table class="list" frame="hsides" rules="rows" width="100%">
<tr><th>Title</th><th width="160px">when</th><th width="60px">action</th><th width="120px">by</th></tr>
{% autopaginate version_list 20 %}
{% for version in version_list %}
<tr class="list">
<td><a href="{% url djambe.wiki.views.view_version version.id %}">{{ version.title }}</a></td>
<td><a href="{% url djambe.wiki.views.view_version version.id %}">{{ version.updated|date:"Y-m-d H:i" }}</a></td>
<td>{{ version.action }}</td>
<td>{{ version.author }}</td>
</tr>
{% endfor %}
</table><br/>
{% paginate %}
{% endblock %}